#ifndef MAINMENUSCENE_H
#define MAINMENUSCENE_H

#include <gui/paintscene.h>

#include <QtOpenGL/qgl.h>

class ImageLoaderThread;

class MainMenuScene : public PaintScene
{
    Q_OBJECT
public:
    explicit MainMenuScene(QObject *parent = 0);

    void paint(int width, int height, QGLWidget *widget);

signals:
    void updated();

    void enterSingle();
    void enterMulti();
    void enterExit();

public slots:
    void imageLoaded();

private slots:
    void up();
    void down();
    void enter();

private:
    bool firstTime;

    int current;

    GLuint mainMenu;
    GLuint menuSinglePlayer;
    GLuint menuMultiPlayer;
    GLuint menuExit;

    ImageLoaderThread *myImageLoaderThread;
};

#endif // MAINMENUSCENE_H
